﻿using System;
using System.Collections.Generic;

namespace MGAS.Model.Entity
{
    public class History
    {
        public long ID { get; set; }
        public int SensorID { get; set; }
        public int Value { get; set; }
        public PressureUnit Unit { get; set; }
        public PressureStatus Status { get; set; }
        public DateTime LogTime { get; set; }

        public override string ToString()
        {
            return string.Format("SensorID={0}, Value={1}, Unit={2}, Status={3}", SensorID, Value, Unit, Status);
        }
    }
}
